//
//  WTLoginManagerProtocol.h
//  WTLiveSDKDemo
//
//  Created by ben on 16/9/26.
//  Copyright © 2016年 ben. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol WTLoginManager <NSObject>

/**
 云信登录

 @param success 登录成功的回调
 @param failure 失败的回调
 */
- (void)login:(void (^)())success
       failure:(void (^)(NSError *error))failure;;




/**
 注销云信登录

 @param success 注销成功的回调
 @param failure 注销失败的回调
 */
- (void)logout:(void (^)())success
       failure:(void (^)(NSError *error))failure;




/**
 是否登录

 @return YES：已经登录 NO:没有登录
 */
- (BOOL)isLogin;
@end
